import request from '../../utils/request';

export const deployHistoryPage = query => {
    return request({
        url: '/deployHistory/page',
        method: 'get',
        params: query
    });
};

export const deployHistorySave = data => {
    return request({
        url: '/deployHistory/save',
        method: 'post',
        data: data
    });
};

export const deployHistoryUpdate = data => {
    return request({
        url: '/deployHistory/update',
        method: 'put',
        data: data
    });
};

export const deployHistoryDelete = data => {
    return request({
        url: '/deployHistory/delete/' + data,
        method: 'delete'
    });
};